package cn.wolfcode.shop.seckill.service;

import cn.wolfcode.shop.seckill.domain.OrderInfo;
import cn.wolfcode.shop.seckill.domain.SeckillOrder;
import cn.wolfcode.shop.seckill.vo.SeckillGoodVo;

public interface ISeckillOrderService {

    public SeckillOrder findByUserIdAndGoodId(Long userId, Long goodId);

    String doSeckill(SeckillGoodVo seckillGoodVo, Long id);

    public int createSeckillOrder(OrderInfo orderInfo);

    int updateStatus(String orderNo);
}
